﻿@model String

<div class='row form-group' >
    @Html.LabelForModel(new { @class = "col-md-3 control-label" })

    <div class="@(ViewData.ContainsKey("ancho") && ViewData["ancho"] != null ? "col-md-" + ViewData["ancho"].ToString() + "" : "col-md-6")">
        @Html.TextBoxFor(x => x, new { @class = "form-control", maxlength = (ViewData.ContainsKey("maxlength") && ViewData["maxlength"] != null ? ViewData["maxlength"].ToString() : "") })
        @Html.ValidationMessageFor(x => x)
    </div>
</div>
